package com.hqq.concurrency.semaphone;

/**
 * App
 * Created by heqianqian on 2017/7/30.
 */
public class App {

    /**
     * main method
     *
     * @param args
     */
    public static void main(String[] args) {
        FruitShop shop = new FruitShop();
        new Customer("Peter", shop).start();
        new Customer("Paul", shop).start();
        new Customer("Mary", shop).start();
        new Customer("John", shop).start();
        new Customer("Ringo", shop).start();
        new Customer("George", shop).start();
    }
}
